@import "color";

body {

  background-color: white;

  a {
    color: $mainColor;

    &:hover {
      color: $secondColor;
    }
  }

  .container {
    background-color: white;
    min-height: 925px;
    padding-bottom: 20px;
    max-width: unset !important;
    padding-left: 0;
    padding-right: 0;

    .body-box {
      max-width: 1400px;
      margin: 0 auto;
      border: 1px solid #ddd;
      height: 100%;
      border-radius: 5px;
      margin-top: 15px;
      font-size: 15px;

      .main-body {
        &.detail-info {


          table {
            white-space: normal !important;

            th {
              width: 20%;
            }
          }

          .fixed-table-body {
            min-height: unset !important;
          }
        }
      }

      .index-box {
        padding: 20px;
        display: flex;
        justify-content: space-between;

        h5 {
          border-bottom: 2px solid #eee;
          padding-bottom: 10px
        }

        .index-left {
          width: 66%;
          text-align: justify;

          .left-box {
            display: flex;
            justify-content: left;

            a {
              &:hover {
                text-decoration: none;
              }
            }

            .img-box {
              width: 150px;
              height: 150px;
              border-radius: 5px;
              border: 1px solid #ddd;
              margin: 10px;
              text-align: center;
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: center;
              color: $mainColor;

              &:hover {
                border-color: black;
                cursor: pointer;
                color: $hoverColor;

                i {
                  color: $hoverColor;
                }

              }

              i {
                font-size: 50px;
                color: $mainColor;
              }

              .img {
                height: 77px;
                display: flex;
                align-items: center;
                justify-content: center;

                img {
                  width: 80%;
                }
              }


              p {
                font-size: 20px;
                margin-bottom: 0;
              }

              .nums {
                font-size: 13px;
                margin-bottom: 10px;
                color: #555;
              }

            }

          }

          &.top-banner {
            display: flex;
            align-items: center;


          }

        }

        .index-right {
          width: 30%;


          a {
            color: $mainColor;
            width: 30%;
            //   transition: width 1s;


            &:hover {
              text-decoration: none;
              //   width: 100%;

              .img-box {
                //   justify-content: flex-start;
                //  flex-direction: row;
                .img-box2 {
                  //    width: 30%;
                }

              }


            }

            .img-box {
              width: 100%;

              height: 115px;
              border-radius: 5px;
              border: 1px solid #ddd;
              margin: 10px;
              text-align: center;
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: space-between;

              i {
                font-size: 50px;
              }

              &:hover {
                border-color: black;
                cursor: pointer;
              }

              .img {
                height: 77px;
                display: flex;
                align-items: center;
                justify-content: center;
              }

              p {
                font-size: 19px;
                margin-bottom: 0;
              }

              .nums {
                font-size: 13px;
                margin-bottom: 10px;
                color: #555;
              }

            }
          }

          .index-img {
            width: 100%;
          }
        }

      }

      .page-box {
        padding: 20px;

        .sub-title {
          width: 100%;
          margin: 0;

          .col-sm-12 {
            border-bottom: 2px solid $mainColor;
          }

          .page-heading {
            color: #343a40;
            font-weight: bold;

            a {
              color: $linkColor;

              &:hover {
                text-decoration: none;
                color: $linkHoverColor;
              }

            }

          }
        }

        .main-body {
          margin-top: 20px;

          .nav {
            .nav-item {
              .active {
                color: $fontColor;
              }

              a {
                color: $linkColor;

                &:hover {
                  color: $linkHoverColor;
                }
              }
            }
          }

          .tab-content {
            margin-top: 10px
          }

          .download {
            li {
              padding: 5px;
              font-size: 18px;
            }
          }

          .table {
            white-space: nowrap;

            a {
              color: $linkColor;

              &:hover {
                color: $linkHoverColor;
              }
            }
          }
        }

      }

      .page-link {
        color: #343A40;
      }

      .page-item.active .page-link {
        color: #fff;
        background-color: $mainColor;
        border-color: #ddd;
      }
    }

  }

  .index-img {
    width: 100%;
    text-align: justify;
    display: flex;
    justify-content: center;

    .img-box {
      width: 250px;
      height: 250px;
      border-radius: 5px;
      border: 1px solid #ddd;
      margin: 10px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;


      &:hover {
        border-color: black;
        cursor: pointer;
      }


      .img {
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;


        img {
          /*  width: 140px;*/
          height: 200px;
        }
      }

      p {
        font-size: 20px;
        margin-bottom: 0;
      }

      .nums {
        font-size: 13px;
        margin-bottom: 10px;
        color: #555;
      }


    }

  }

  .egCrics {
    color: $mainColor;
  }

  .my-checkbox {
    margin-bottom: 5px;

    .my-table-checkbox {
      margin-right: 15px;

      &:hover {
        cursor: pointer;
      }
    }
  }

  .my-form {
    margin: 20px;

    .my-position {
      display: flex;

      .my-position-title {
        font-weight: bold;
        text-align: right;
        padding-right: 10px;
      }
    }

  }

  .my-check-label {
    cursor: pointer;
    margin-right: 10px;

  }

  .my-btn {
    color: white;
    background-color: $mainColor;

    &:hover {
      color: white;

      background-color: $hoverColor;
    }
  }

  .result {
    display: none;
  }

  footer {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 300;
    color: black;
    text-align: center;
    line-height: 45px
  }

  pre {
    max-height: 300px;
    display: block;
    padding: 10px;
    margin: 10px 0 10px;
    font-size: 15px;
    line-height: 1.42857143;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
  }

  .seq {
    height: 150px;
    overflow: auto;
    padding-right: 25px;
    word-break: break-all;
  }

  .monospace {
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  }

  .form-control-feedback {
    float: right;
    position: absolute;
    right: -10px;
    top: 11px;
  }


  .popover {
    max-width: 800px;
  }

  .png-link {
    text-align: center;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 10px;
    max-width: 16%;
    min-width: 165px;
    margin-bottom: 10px;

    &:hover {
      text-decoration: unset;
      border: 1px solid $mainColor;
      cursor: pointer;

      margin-top: -10px;
    }
  }


  @media (min-width: 992px) {
    #align-justify {
      display: none;
    }

    #back {
      width: 0;
    }
  }

  @media (max-width: 992px) {

    header {

      h2 {
        font-size: 22px;

        span {
          display: none;
        }

      }

      h4 {
        display: none;
      }
    }

    .index-box {
      flex-wrap: wrap;

      .index-left {
        width: 100% !important;

        .index-text {
          height: unset !important;
        }
      }

      .index-right {
        width: 100% !important;
      }


    }


    .collapse:not(.show) {
      display: block;

      .nav-item {
        display: none;
      }

      #align-justify {
        display: block;

      }

      #back {
        display: block;
        height: 40px;
      }

      #lang {
        display: block;
      }
    }


    .thumbnail {
      height: unset;

      .col-sm-6 {
        align-items: center;
        max-width: 100%;
        text-align: center;
        margin: 0 auto !important;
      }

    }


  }


}


.download-btn{

  button{
    border: unset;
    background: unset;
    font-size: 12px;
    font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif;
    color: #333333;

    i{
      font-size: 15px;
    }

    &:hover{

      background-color: #eeeeee;
    }
  }

}